package br.com.sebrae.pr.sgp.util;

import java.io.Serializable;
import java.util.List;

public interface IAutocompletable<T> extends Serializable {
    public List<T> pesquisarAutocomplete(final String input);

    public String getChoiceId(final T obj);

    public String getText(final T obj);

    public String getChoice(final T obj, final String criteria);

    public T getById(final String id);
}
